<template>
	<view class="padding">
		<u-collapse>
			<u-collapse-item :head-style="headStyle" :title="item.title" v-for="(item, index) in list" :key="index">
				<view class="padding">
					{{item.content}}
				</view>
			</u-collapse-item>
		</u-collapse>
	</view>
</template>

<script>
	var that
	export default {
		data() {
			return {
				list: [],
				headStyle:{'height':'30px','font-weight':'bold'}
			}
		},
		onLoad() {
			that = this
			that.$u.post('index/help').then(res => {
				that.list = res
			})
		},
		methods: {

		}
	}
</script>

<style>
	.collapse-item {
		color: red;
		padding-bottom: 10px;
	}
</style>
